package com.osdp.sc.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="sc_role_user对象", description="用户角色表")
public class ScRoleUserVo implements Serializable {

    @ApiModelProperty(value = "ID")
    private String id;
    /** 用户id */
    @ApiModelProperty(value = "用户ID")
    private String userId;

    /** 角色id  */
    @ApiModelProperty(value = "角色ID")
    private String roleId;


    public ScRoleUserVo() {
    }

    public ScRoleUserVo(String userId, String roleId) {
        this.userId = userId;
        this.roleId = roleId;
    }
}
